package com.pointi.emoTools;

import java.text.SimpleDateFormat;
import java.util.Date;

public class ezTools
{
	//____________________________________________________________________________________________________
	// CALENDAR, DATE
	
	public static String fnGetDate_YYYY_MM_DD()
	{
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd") ;
		return sdf.format(new Date()) ;
	}
	
	public static int fnGetDayOfWeek()
	{
		// [u] 1.MON ~ 7.SUN
		SimpleDateFormat sdf = new SimpleDateFormat("u") ;
		return Integer.valueOf(sdf.format(new Date())) ;
	} 
	
	//____________________________________________________________________________________________________
	// EOC
}
